package com.pxx.item.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 规格参数的分组表，每个商品分类下有多个规格参数组
 * @TableName tb_spec_group
 */
@TableName(value ="tb_spec_group")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class TbSpecGroup {
    /**
     * 主键
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    private Long cid;

    private String name;
}